//
//  joystick.h
//  CommandCenter08
//
//  Created by Matt Roman on 7/7/08.
//  Copyright 2008 University of Oklahoma. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import	"NetClient.h"

@interface joystick : NSView {
	IBOutlet NSButton		*leftTurnButton;
	IBOutlet NSButton		*rightTurnButton;
	NetClient				*clientConnection;
}

- (void)setClientConnection:(NetClient*)cc;
- (IBAction)turnLeft:(id)sender;
- (IBAction)turnRight:(id)sender;
- (IBAction)driveForward:(id)sender;
- (IBAction)driveBackward:(id)sender;
- (IBAction)stop:(id)sender;

@end
